<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学习WebGL</title>
    <script type="text/javascript">
        function myalert(){
            var s=myfunction.call();
            alert(s);
        }
    </script>
</head>
<body>
我的网页
<button type="button" onclick="myalert()">弹窗</button>
</body>
</html>